import request from '../utils/request'

export function getBannerList () {
  // 返回promise对象，在组件调用该函数之后可以继续操作
  return request.get('/banner/list')
}

export function getSeckillList (params) {
  return request.get('/pro/seckilllist', params)
}

export function getProList (params) {
  return request.get('/pro/list', { params })
}

export function getDateilList (proid) {
  return request.get('/pro/detail/' + proid)
}
